A group of state attorneys general demanded in a written letter that Amazon disclose how many warehouse workers and Whole Foods employees have been infected with or died from the coronavirus, increasing scrutiny from regulators for its response to the disease.